package com.ibeetl.blog.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * @author yibo
 * @date 2019 10 29 17:15
 */
@Controller
public class hello {

    @GetMapping("/chen")
    public String hello(HttpServletRequest request){
        request.setAttribute("beetl","beetl学习用例");
        request.setAttribute("test","一起学习呀");
        return "index1.html";
    }
}
